package com.suma.platform.core.service;

/**
 * @author suma
 * @date 2018/3/19 上午10:12
 */
public class ProdPriceContext {

	private ProdPriceStrategy prodPriceStrategy;

	public ProdPriceContext(ProdPriceStrategy prodPriceStrategy) {
		this.prodPriceStrategy = prodPriceStrategy;
	}

	public double getActualPrice(double price) {
		return prodPriceStrategy.getActualPrice(price);
	}
}
